<%= error_messages_for 'application' %>

<% form_tag ({:action => 'submit'}) do %>
   <% @questions.each do |question| %>
   <div class="post">
      <h3><%= question.question %></h3>
      <p><%= form_box question %></p>
   </div>
   <% end %>
   
   <%= submit_tag "Submit Application", :name=>"submit" %> 
   
<% end %>

<% content_for :second_column do %>
   <div class="section">
      <h4><%= link_to "Download Form", "/application.doc" %></h4>
   </div>
<% end %>